package com.ssn.decorator.encryption;

public class ModEncryption extends Decorator{

    ModEncryption(BasicEncryption basicEncryption) {
        super(basicEncryption);
    }
    public void encrypt(){
        super.encrypt();
        modEncrypt();
    }
    private void modEncrypt(){
        System.out.println("do mod Encrypt !");
    }
}
